﻿@model DAO.Product
@{
    ViewBag.Title = "Details";
}



<div class="span9">
    <div><h3>Товар: @Model.Name</h3></div>
    <hr />
    <div class="display-label"><b>Название товара:</b> @Html.DisplayFor(model => model.Name)</div>

     <div class="display-label"><b>Категория товара:</b> @Html.DisplayFor(model => model.Category.Name)</div>

     <div class="display-label"><b>Количество:</b> @Html.DisplayFor(model => model.Count)</div>

    <div class="display-label"><b>Описание товара:</b> @Html.DisplayFor(model => model.Description)</div>
<p>
    @Html.ActionLink("Назад к списку", "Index")
</p>
</div>
   @* @foreach (var item in Model.Products)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Description)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Count)
            </td>
            <td>
                @Html.ActionLink("Details", "Details", new { id = item.Id })
            </td>
        </tr>
    }*@


